package scsc.pub.data;

import java.io.Serializable;
import org.apache.commons.lang.builder.ToStringBuilder;



/** 
 *        @hibernate.class
 *         table="KgtYearRpt"
 *         schema="scsc"
 *         dynamic-update="true"
 *         dynamic-insert="true"
 *     
*/
public class KgtYearRpt implements Serializable {

    /** identifier field */
    private Integer rptId;

    /** nullable persistent field */
    private Integer kgtId;

    /** nullable persistent field */
    private String incomeExpense;

    /** nullable persistent field */
    private String equipment;

    /** nullable persistent field */
    private String student;

    /** nullable persistent field */
    private String rptYear;

    /** nullable persistent field */
    private String remark;

    /** persistent field */
    private String userId;

    /** nullable persistent field */
    private String latestDate;

    /** full constructor */
    public KgtYearRpt(Integer kgtId, String incomeExpense, String equipment, String student, String rptYear, String remark, String userId, String latestDate) {
        this.kgtId = kgtId;
        this.incomeExpense = incomeExpense;
        this.equipment = equipment;
        this.student = student;
        this.rptYear = rptYear;
        this.remark = remark;
        this.userId = userId;
        this.latestDate = latestDate;
    }

    /** default constructor */
    public KgtYearRpt() {
    }

    /** minimal constructor */
    public KgtYearRpt(String userId) {
        this.userId = userId;
    }

    /** 
     *            @hibernate.id
     *             generator-class="identity"
     *             type="java.lang.Integer"
     *             column="RptId"
     *             unsaved-value="0"
     *         
     */
    public Integer getRptId() {
        return this.rptId;
    }

    public void setRptId(Integer rptId) {
        this.rptId = rptId;
    }

    /** 
     *            @hibernate.property
     *             column="KgtId"
     *             length="10"
     *         
     */
    public Integer getKgtId() {
        return this.kgtId;
    }

    public void setKgtId(Integer kgtId) {
        this.kgtId = kgtId;
    }

    /** 
     *            @hibernate.property
     *             column="IncomeExpense"
     *             
     *         
     */
    public String getIncomeExpense() {
        return this.incomeExpense;
    }

    public void setIncomeExpense(String incomeExpense) {
        this.incomeExpense = incomeExpense;
    }

    /** 
     *            @hibernate.property
     *             column="Equipment"
     *             
     *         
     */
    public String getEquipment() {
        return this.equipment;
    }

    public void setEquipment(String equipment) {
        this.equipment = equipment;
    }

    /** 
     *            @hibernate.property
     *             column="Student"
     *             
     *         
     */
    public String getStudent() {
        return this.student;
    }

    public void setStudent(String student) {
        this.student = student;
    }

    /** 
     *            @hibernate.property
     *             column="RptYear"
     *             length="4"
     *         
     */
    public String getRptYear() {
        return this.rptYear;
    }

    public void setRptYear(String rptYear) {
        this.rptYear = rptYear;
    }

    /** 
     *            @hibernate.property
     *             column="Remark"
     *             length="200"
     *         
     */
    public String getRemark() {
        return this.remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    /** 
     *            @hibernate.property
     *             column="UserId"
     *             length="7"
     *             not-null="true"
     *         
     */
    public String getUserId() {
        return this.userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    /** 
     *            @hibernate.property
     *             column="LatestDate"
     *             length="23"
     *         
     */
    public String getLatestDate() {
        return this.latestDate;
    }

    public void setLatestDate(String latestDate) {
        this.latestDate = latestDate;
    }

    public String toString() {
        return new ToStringBuilder(this)
            .append("rptId", getRptId())
            .toString();
    }

}
